Skip to content

Conversation

@jsoriano
Copy link
Member

@jsoriano jsoriano commented Apr 21, 2025

The failure store was added in technical preview in 8.15, and it is not documented. We started using it after #1973.
It is still under development and its APIs changed in a breaking way in 8.18. From 8.18 this feature is not working in elastic-package, as it cannot detect if the feature is available. Our tests for this feature are failing.

We would need to change three things:

  • How to check if the feature is available in the target stack.
  • How to enable the feature in the data stream used for the system tests.
  • How to search for documents in the failure store for the data stream.

I tried to adapt elastic-package to the new APIs in #2547, but didn't manage to solve the third part, searching in the failure store.

As the feature is still in technical preview, it is not documented, and there might be more changes in the future, I think it can be difficult to reliably maintain code based on this. So I think we should drop its use in elastic-package by now.

This change effectively reverts most of 1fbc6f7. We will wait till the feature is better documented, and GA or closer to GA.

Related issues

This change reverts 1fbc6f7, after the
feature changed in a breaking way in 8.18. We will wait till the feature
is GA and documented.
@jsoriano jsoriano requested a review from a team April 21, 2025 22:12
@jsoriano jsoriano self-assigned this Apr 21, 2025
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @jsoriano

@jsoriano jsoriano merged commit 73bc008 into elastic:main Apr 22, 2025
3 checks passed
@jsoriano jsoriano deleted the revert-failure-store branch April 22, 2025 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants